package com.dazhewan.project.properties;

import com.dazhewan.project.component.AbstractMainBuilder;
import com.dazhewan.project.ocr.strategy.BaiDuOcrStrategy;
import com.dazhewan.project.ocr.strategy.IOrcStrategyI;

import java.awt.*;
import java.awt.event.KeyEvent;

/**
 * @author: zheng
 * @code date: 2022/10/10
 * @code className: GlobalSettting
 * @code description:
 */
public class GlobalSettting {
    /**
     * 设置缓存图片的数量
     */
    public static int SCREEN_CACHE_NUM = 5;
    /**
     * 划区域截屏快捷键
     */
    public static int DRAW_SCREEN_CUT_KEY_CHINESS = KeyEvent.getExtendedKeyCodeForChar('1');
    public static int DRAW_SCREEN_CUT_KEY_ENGLISH = KeyEvent.getExtendedKeyCodeForChar('2');
    public static int DRAW_SCREEN_CUT_KEY_ALL = KeyEvent.getExtendedKeyCodeForChar('3');
    /**
     * 设置默认的风格
     */
    public static String STYLE_STR = "FlatLaf IntelliJ 风格";

    public static AbstractMainBuilder MAIN_BUILDER = null;

    public static Color MAIN_BLACK_COLOR = Color.WHITE;

    public static IOrcStrategyI DEFAULT_OCR=BaiDuOcrStrategy.getInstance();

}
